package net.maku.project.convert;

import net.maku.project.entity.ProcessStagesEntity;
import net.maku.project.vo.ProcessStagesVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 流程阶段表
*
* @author 艾力 1106997025@qq.com
* @since 1.0.0 2024-07-09
*/
@Mapper
public interface ProcessStagesConvert {
    ProcessStagesConvert INSTANCE = Mappers.getMapper(ProcessStagesConvert.class);

    ProcessStagesEntity convert(ProcessStagesVO vo);

    ProcessStagesVO convert(ProcessStagesEntity entity);

    List<ProcessStagesVO> convertList(List<ProcessStagesEntity> list);

    List<ProcessStagesEntity> convertVOS(List<ProcessStagesVO> vos);

}